package com.hgkj.cloud.base.service;

import com.hgkj.cloud.base.domain.EUser;
import com.hgkj.cloud.base.common.PageInfo;

import java.util.List;
import java.util.Map;


public interface EUserService {

    int insertUser(EUser user);

    int updateUser(EUser user);

    int resetUserPwd(EUser user);

    int delUserById(String id);

    int PhysicsDelUserById(String id);

    EUser getUserInfo(Map<String, Object> map);

    EUser getBindUserInfo(Map<String, Object> map);

    Map<String, Object> getUserInfoSimple(String uuid);

    EUser getUserInfoWithLastUse(Map<String, Object> map);

    List<EUser> listEUsers(PageInfo pi, Map<String, Object> map);

    List<EUser> listEUsersWithAppUsed();

    long listEUsersCount(Map<String, Object> map);

    List<Map<String, Object>> listChannelUsersCount(Map<String, Object> map);

    List<EUser> listPrivateEUsers(Map<String, Object> map);

    List<EUser> listBraceletDataPrivateEUsers(Map<String, Object> map);

    int listBraceletDataPrivateEUsersCount(Map<String, Object> map);

    List<EUser> listBraceletZxbPrivateEUsers(Map<String, Object> map);

    int listBraceletZxbPrivateEUsersCount(Map<String, Object> map);

    List<EUser> listMattressPrivateEUsers(Map<String, Object> map);

    int listMattressPrivateEUsersCount(Map<String, Object> map);

    List<EUser> listTenantEUsers(PageInfo pi, Map<String, Object> map);

    List<Map<String, Object>> listReportViewer(Map<String, Object> map);

    List<EUser> listExamineUsersByGender(Map<String, Object> map);

    Map<String, Object> getAbnormalRiskUser(Map<String, Object> map);

    List<Map<String, Object>> listAllUser(Map<String, Object> map);

    List<EUser> listExamineUsers(PageInfo pi,Map<String, Object> map);

    int listExamineUsersCount(Map<String, Object> map);

    EUser getExamineUserInfo(Map<String, Object> map);

    int delUserByUuids(List<String> uuids);

    List<EUser> listUsers(PageInfo pi,Map<String, Object> map);

    long listUsersCount(Map<String, Object> map);

    List<EUser> listTableTaskUsers(PageInfo pi, Map<String, Object> map);

    long listTableTaskUsersCount(Map<String, Object> map);

    int updateUserByFrameworkId(Long frameworkId);

    List<String> listUserUuid(Map<String,Object> map);
    List<EUser> getUserInfoListForExcel(Map<String, Object> map);

    List<EUser> listQnTaskUsers(Map<String, Object> map);
    long listQnTaskUsersCount(Map<String, Object> map);
    List<String> getUserIDsByNameList(Map<String, Object> map);
}
